package com.etc.util;

import org.springframework.stereotype.Component;

@Component(value = "message")
public class Message {
	private String msg;

	private int code;

	private String filepath;
	
	private String localhostpath;

	public String getLocalhostpath() {
		return localhostpath;
	}

	public void setLocalhostpath(String localhostpath) {
		this.localhostpath = localhostpath;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getFilepath() {
		return filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Message() {
		super();
	}

	public Message(String msg) {
		super();
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "Message [msg=" + msg + ", code=" + code + ", filepath=" + filepath + "]";
	}
}
